package com.loeng.framework.common.util.spring;

import cn.hutool.extra.spring.SpringUtil;

import java.util.Objects;

/**
 * Spring 工具类
 *
 * @author loeng zhuo
 */
public class SpringUtils extends SpringUtil {

    public static boolean isProd() {
        return Objects.equals("prod", getActiveProfile());
    }
}
